import request from "../../utils/request"

//获取视频封面
export const reqVideoCover = (videoId) => {
	return request.get(
		`trainingCenter/plans/rec/relevant?access_token=46269a95-8f8e-42a7-a275-99ea75139ff5&contentId=${videoId}`
	)
}

//广告信息
export const reqAdv = (videoId) => {
	return request.get(
		`/moment/moments/${videoId}/search/queryMatchingProducts?access_token=46269a95-8f8e-42a7-a275-99ea75139ff5&pageNum=0&pageSize=4`
	)
}

//留言信息
export const reqMessage = (videoId) => {
	return request.get(
		`sns//userComments/search/findByOriginObjectId?access_token=46269a95-8f8e-42a7-a275-99ea75139ff5&originObjectId=${videoId}&pageNum=0&pageSize=5`
	)
}

//视频信息
export const reqVideoInfo = () => {
	return request.get(
		"/moment/moments/rec/default?access_token=c494ae44-3adc-48ca-8749-5128a53358d7&column=recommend&pageSize=20&pageNum=0&localCache=0"
	)
}
